/*
 * @Author:
 * @Date: 2023-02-25 11:20:46
 * @LastEditors:
 * @LastEditTime: 2023-09-06 15:55:19
 * @FilePath: \immoka-admin\src\api\feedbackActivity\index.js
 * @Description:
 *
 * Copyright (c) 2023 by ${git_name} , All Rights Reserved.
 */
import request from '@/utils/request';

// 奖池列表
export function yearMidPoolList(query) {
  return request({
    url: `/admin/activity/year/mid/pool/list`,
    method: 'get',
    params: query
  });
}

// 奖池列表-新增、编辑
export function yearMidPoolSave(query) {
  return request({
    url: `/admin/activity/year/mid/pool/save`,
    method: 'post',
    data: query
  });
}

// 奖池奖品列表
export function yearMidPoolPrizeList(query) {
  return request({
    url: `/admin/activity/year/mid/pool/prize/list`,
    method: 'get',
    params: query
  });
}

// 奖池奖品列表--保存/编辑
export function yearMidPoolPrizeSave(query) {
  return request({
    url: `/admin/activity/year/mid/pool/prize/save`,
    method: 'post',
    data: query
  });
}

// 奖池奖品列表-删除
export function yearMidPoolPrizeDelete(query) {
  return request({
    url: `/admin/activity/year/mid/pool/prize/delete`,
    method: 'post',
    data: query
  });
}

// 奖品列表
export function yearMidPrizeList(query) {
  return request({
    url: `/admin/activity/year/mid/prize/list`,
    method: 'get',
    params: query
  });
}
// 奖品列表 -- 保存/编辑
export function yearMidPrizeSave(query) {
  return request({
    url: `/admin/activity/year/mid/prize/save`,
    method: 'post',
    data: query
  });
}

// 年中回馈设置列表
export function yearMidSettingList(query) {
  return request({
    url: `/admin/activity/year/mid/setting/list`,
    method: 'get',
    params: query
  });
}
// 新增/编辑横幅
export function yearMidSettingSave(query) {
  return request({
    url: `/admin/activity/year/mid/setting/save`,
    method: 'post',
    data: query
  });
}
